const koa = require("koa");
const app = new koa();
const static = require("koa-static");
const path = require("path");

app.use(async (ctx, next) => {
    ctx.body = "hello"
    await next()
})
app.use(static(path.join(__dirname, "static")))
app.listen(8000)